/**
 * Created by Toma on 2016/9/8.
 * 返回给客户端以请求的数据
 */
var http = require('http');
http.createServer(function (request, response) {
  response.writeHead(200, {'Content-Type': 'text/html;charset=utf-8'});

  request.on('data', function (chunk) {
    response.write(chunk);
  });

  request.on('end', function () {
    response.end('响应成功了亲~(づ￣3￣)づ╭❤～\n');
  });
}).listen(8787);